package com.ruoyi.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 嗨聊APP-token配置
 * @author zhusy
 * @since 2021/10/28
 */
@Data
@Component
@ConfigurationProperties(prefix = "token.heytalk")
public class HeyTalkTokenProperties {

    /**
     * 令牌自定义标识
     */
    private String header;

    /**
     * 令牌秘钥
     */
    private String secret;

    /**
     * 令牌有效期（默认7天）
     */
    private int expireTime;

}
